namespace VIT.DataTransferObjects.Admin
{
    using System;

    // ImageName = luu ten hinh hien tai cua category
    // ImageByte = chua hinh moi up len neu co, neu ko up hinh moi thi ImageByte = null
    // ImageDetailPath va ImageThumbPath la duong dan web cua hinh

    public class ArticleInfoDto
    {
        public int ID { get; set; }
        public int CategoryId { get; set; }
        public string TypeId { get; set; }
        public string Tag { get; set; }

        public string LanguageId { get; set; }
        public string Title { get; set; }
        public string Description { get; set; }
        public string Contents { get; set; }

        public string ImageName { get; set; }
        public byte[] ImageByteThumb { get; set; }
        public string ImagePathThumb { get; set; }

        public DateTime DisplayDate { get; set; }
        public bool HasComment { get; set; }
        public bool Published { get; set; }
        public int Orders { get; set; }

        public bool isMember;
    }
}